cmake_minimum_required(VERSION 3.5)

project(NN_PLR LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

find_package(Torch REQUIRED PATHS "C:/dev/libtorch/share/cmake/Torch")
include_directories( ${TORCH_INCLUDE_DIRS} )

add_executable(${PROJECT_NAME} main.cpp
    inc/nets.hpp
    src/nets.cpp)
target_include_directories(${PROJECT_NAME} PRIVATE ./inc)
target_link_libraries(${PROJECT_NAME} ${TORCH_LIBRARIES})
